﻿using System.Web.Optimization;

namespace GrainManage.Web
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include("~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include("~/Scripts/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include("~/Scripts/jquery.unobtrusive*", "~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle(Constant.Script_Rsa).Include("~/Plugin/rsa/Barrett.js", "~/Plugin/rsa/BigInt.js", "~/Plugin/rsa/RSA.js", "~/Plugin/rsa/RsaCrypto.js"));

            bundles.Add(new ScriptBundle(Constant.Script_DatePicker).Include("~/Plugin/My97DatePicker/WdatePicker.js"));

            //bundles.Add(new ScriptBundle(Constant.Script_Autocomplete).Include("~/Plugin/autocomplete/jquery.autocomplete.js", "~/Scripts/bind/jquery.autocomplete.bind.js"));
            //bundles.Add(new StyleBundle(Constant.Style_Autocomplete).Include("~/Plugin/autocomplete/jquery.autocomplete.css"));

            //bundles.Add(new ScriptBundle(Constant.Script_Pagination).Include("~/Plugin/jpaginator/jPaginator.js", "~/Scripts/bind/jquery.jPaginator.bind.js"));
            //bundles.Add(new StyleBundle(Constant.Style_Pagination).Include("~/Plugin/jpaginator/jPaginator.custom.css"));

            //*****************************************************Style*****************************************************

            bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/Master.css"));

            bundles.Add(new StyleBundle("~/Content/css/themes").Include("~/Content/themes/ui-darkness/jquery.ui.{version}.custom.css"));

            //bundles.Add(new StyleBundle("~/Content/css/menu").Include("~/Content/menu/flying_menu.css")); 
            bundles.Add(new StyleBundle("~/Content/css/menu").Include("~/Plugin/LavaLampMenu/css/menu.css"));

            bundles.Add(new StyleBundle("~/Content/css/search").Include("~/Content/Search.css"));

            //bundles.Add(new StyleBundle("~/Content/css/ui/autocomplete").Include("~/Content/Jquery.UI.AutoComplete.css"));
        }
    }
}